def helloFn(self, name="world"):
    print ("hello, %s" % name)


def main():
    Hello = type("creator", (object,), {"hello": helloFn})
    h = Hello()
    h.hello("fdsafds")


if __name__ == '__main__':
    main()
